package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ParenthesizedValueExpression implements ValueExpressionPrimary {

    private int beginIndex;
    private int endIndex;
    private ValueExpression valueExpression;

    public ParenthesizedValueExpression(int beginIndex,
                                        int endIndex,
                                        ValueExpression valueExpression) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.valueExpression = valueExpression;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public ValueExpression getValueExpression() {
        return valueExpression;
    }

}
